package com.feiyu.universal.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feiyu.universal.dto.CommentDTO;
import com.feiyu.universal.entity.Comment;
import com.feiyu.universal.vo.CommentVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tang ming
 * @since 2021-11-30
 */
public interface CommentService extends IService<Comment> {

    IPage<CommentVO> pageComment(IPage<Comment> page, CommentDTO param);

    IPage<CommentVO> managePage(Page<Comment> page, Long userId,Boolean flag);

    Boolean restoreComment(Long id);
}
